﻿package entity {
	
	public class UserInfo {
		
		public var session:String;
		private var hatde:int;
		private var userid:String;
		private var userpass:String;
		private var avartaUrl:String;
		private var markid:int;
		
		public function UserInfo() {
			// constructor code
		}
		
		public function setSession(s:String):void{
			session = s;
		}
		
		public function getSession():String{
			return this.session;
		}
		
		public function setHatde(hd:int):void{
			this.hatde = hd;
		}
		
		public function setUserId(id:String):void{
			this.userid = id;
		}
		
		public function setUserPass(uPs:String):void{
			this.userpass = uPs;
		}
		
		public function setAvarta(url:String):void{
			this.avartaUrl = url;
		}
		
		public function setMarkId(mId:int):void{
			this.markid = mId;
		}
		
		public function getUserId():String{
			return this.userid;
		}
		
		public function getUserPass():String{
			return this.userpass;
		}
		
		public function getHatde():int{
			return this.hatde;
		}
		
		public function getAvarta():String{
			return this.avartaUrl;
		}
		
		public function getMarkId():int{
			return this.markid;
		}
		
		public function printUserInfo():void{
			trace("UserID = "+userid+" ,hatde = "+hatde+" ,avartaUrl = "+avartaUrl+" ,markId = "+markid);
		}

	}
	
}
